# $Id: PKGBUILD 84341 2013-02-16 20:43:14Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=iotop
pkgver=0.5
pkgrel=1
pkgdesc='View I/O usage of processes'
arch=('any')
url='http://guichaz.free.fr/iotop/'
license=('GPL')
depends=('python2')
source=(http://guichaz.free.fr/$pkgname/files/$pkgname-$pkgver.tar.bz2)
sha256sums=('761b7b34b88a6b4715927f5319cf0b775e15aa70f43c69dcb805b0e49da1a2e9')

package() {
  cd ${srcdir}/$pkgname-$pkgver

  python2 setup.py install --root=${pkgdir} --optimize=1
}
